<template>
  <div class="layout1-wrapper">
    <div class="header">
      <div class="header-left">图片</div>
      <div class="header-right">用户信息</div>
    </div>
    <div class="main-wrapper">
      <div class="nav">导航</div>
      <div class="main">主题</div>
    </div>
  </div>
</template>
<script setup></script>
<style scoped>
.layout1-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.header {
  display: flex;
  height: 48px;
  border: 1px solid #000;
  justify-content: space-between;
  align-items: center;
}
.main-wrapper {
  flex: 1 1 auto;
  border: 1px solid #000;
  display: flex;
}
.nav {
  flex: 0 0 160px;
  border: 1px solid red;
}
.main {
  flex: 1 1 auto;
  text-align: center;
}
</style>
